home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / gcl-1.000 / gcl-1 / gcl-1.0 / h / dos-go32.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-16  |  1.7 KB  |  102 lines

  1. #define DOS
  2. #ifndef MSDOS
  3. #define MSDOS
  4. #endif
  5. #define I386
  6. #define LITTLE_ENDIAN
  7. #include "bsd.h"
  8. #include "386.h"
  9.  
  10. #ifdef HAVE_AOUT
  11. #undef HAVE_AOUT
  12. #endif
  13. #define HAVE_AOUT <aout.h>
  14.  
  15.   /* include ptimes and so on in the image */
  16. #define CMAC
  17.  
  18. #define  SHARP_EQ_CONTEXT_SIZE 1024
  19.  
  20. #undef FILECPY_HEADER  
  21. #define FILECPY_HEADER filecpy(save, original, header.a_text)
  22.  
  23. #define IS_DIR_SEPARATOR(x) ((x=='/')||(x=='\\'))
  24. #undef SET_REAL_MAXPAGE
  25. /* fix this to stat the swap file to give idea of swap space */
  26. #define DEFAULT_BINARY_MODE _fmode = O_BINARY
  27.  
  28. #define SET_BINARY_MODE  _fmode = O_BINARY;
  29.  
  30. void binary_file_mode();    
  31. #define SET_REAL_MAXPAGE do { binary_file_mode(); real_maxpage = MAXPAGE;} \
  32.     while(0)
  33.  
  34. struct rlimit { int i; } ;
  35.  
  36.  
  37. #undef LISTEN_FOR_INPUT
  38. #undef HAVE_IOCTL
  39.  
  40.  
  41.  
  42.  
  43. #define ADDITIONAL_FEATURES \
  44.              ADD_FEATURE("DOS"); \
  45.                ADD_FEATURE("I386")
  46.  
  47.  
  48. #define    IEEEFLOAT
  49.  
  50.  
  51. #define DATA_BEGIN (char *)N_DATADDR(header)
  52.  
  53. #define N_RELOFF N_TRELOFF
  54.  
  55. #define RELOC_FILE "rel_sun3.c"
  56.  
  57. #define PAGEWIDTH 12 
  58.  
  59. #define reloc  relocation_info
  60.  
  61.  
  62. #define HAVE_ALLOCA
  63.  
  64. /* some regular bsd bells and whistles which aren't here */
  65.  
  66. #undef HAVE_SIGVEC
  67. #undef HAVE_XDR
  68. #undef RUN_PROCESS
  69.  
  70.  
  71. #ifdef IN_UNIXTIME
  72. #undef BSD
  73. #define ATT
  74. #ifndef EMX
  75. #define tms_cutime tms_stime
  76. #endif
  77. #endif
  78.  
  79. #define FIX_PATH_STRING(x) fix_path_string_dos(x)
  80.  
  81. #ifdef IN_RSYM
  82. #define _std_h
  83. #include <fcntl.h>
  84. #endif
  85.  
  86. #define RSYM_COMMAND(command,system_directory,kcl_self,tmpfile1) \
  87.   sprintf(command,"go32 rsym %s %s",kcl_self,tmpfile1)
  88.  
  89. #define GETWD(x) (bzero(x,MAXPATHLEN),getwd(x))
  90.  
  91. #define DOES_CRLF
  92. #define WRITEC_NEWLINE(strm) (writec_stream('\r',strm),\
  93.                   writec_stream('\n', strm))
  94.  
  95.  
  96. /* Begin for cmpinclude */
  97.  
  98. #define HAVE_ALLOCA
  99.  
  100. /* End for cmpinclude */
  101.  
  102.